$(function(){
  window.jQuery.fn.param = function(){
    var s = $(this).attr('src');
    if(s.length == 0 || s.indexOf('.js?') < 0) return;
    var t = s.replace(/^.*\.js\?/, '').split('&');
    var rtn = {};
    for(var i = 0; i < t.length; i++){
      var v = t[i].split('=');
      if(v.length == 2) rtn[v[0]] = [v[1]];
    }
    return rtn;
  }
});





